 //请求用户登录信息
 var getusers = function(myuser){
	 return new Promise((resolve,reject)=>{
		 const db = wx.cloud.database()
		 db.collection(myuser).get().then(res=>{
			 resolve(res)
		 }).catch(err=>{
			 reject(err)
		 
		 })
	 })
 }
 
 export default getusers;